<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="head">
        <GlobalHead />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view></router-view>
      </a-layout-content>
      <a-layout-footer class="footer">🦶</a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup lang="ts">
import GlobalHead from "@/components/GlobalHead.vue";
</script>

<style scoped>
#basicLayout {
}

#basicLayout .head {
  margin-bottom: 16px;
  box-shadow: #eee 1px 1px 5px;
}

#basicLayout .content {
  background: linear-gradient(to right, #fefefefe, #eeeeee);
  margin-bottom: 16px;
  padding: 20px;
}

#basicLayout .footer {
  background: pink;
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
